package com.amigo.online.provider.common.util;

import java.util.ArrayList;
import java.util.List;

public class BasicUtil {

    public static List<Long> convertStringIdsToList(String idString, String split) {
        String[] ids = idString.split(split);
        List<Long> result = new ArrayList<>();
        for (int i = 0; i < ids.length; i++) {
            result.add(Long.valueOf(ids[i]));
        }
        return result;
    }
}
